<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=gbk" />
    <title>
        {$title}_
        <wowocms:webtitle />
    </title>

    <meta name="keywords" content="<wowocms:keywords />" />
    <meta name="description" content="<wowocms:description /> " />
    <meta name="generator" content="0771MC" />
    <meta name="author" content="WWW.0771MC.COM" />
    <meta name="MSSmartTagsPreventParsing" content="True" />
    <meta http-equiv="MSThemeCompatible" content="Yes" />
    <base href="<wowocms:weburl />" />
    <link rel="stylesheet" type="text/css" href="__ROOT__/Style/css/style_2_common.css?dv1" />
    <meta name="application-name" content="0771MC" />
    <script src="__ROOT__/Style/js/jquery.min.js" type="text/javascript"></script>
        <script type="text/javascript">
    mc = jQuery.noConflict();
    </script>
        <script src="__PUBLIC__/js/jquery-1.7.2.min.js" type="text/javascript"></script>


    <SCRIPT language=javascript>
    <!--
    window.onerror = function() {
        return true;
    }
    // -->
    </SCRIPT>

    <script type="text/javascript">
        function verifyStart(){ 
                        var verifyimg = $("#verif_img").attr("src");
                                           
                            if(verifyimg.indexOf('?')>0){
                                $("#verif_img").attr("src", verifyimg+'&random='+Math.random());
                            }else{
                                $("#verif_img").attr("src", verifyimg.replace(/\?.*$/,'')+'?'+Math.random());
                            }
                                            
        }
    </script>

    <!--[if IE 6]>
<script src="__PUBLIC__/js/DD_belatedPNG_0.0.8a-min.js" type="text/javascript" type="text/javascript"></script> 
<script type="text/javascript">
   EvPNG.fix('div, ul, img, li, input');  
   EvPNG.fix('.png'); 
</script>
<![endif]-->

</head>

<body id="nv_portal" class="pg_list pg_list_1" onkeydown="if(event.keyCode==27) return false;">
    <div id="append_parent"></div>
    <div id="ajaxwaitid"></div>
    <div id="insidemain">
        <div class="inside_top">


            <div id="toptb" class="cl">
                <div class="wp">
                    <div class="z">
                        <a href="javascript:;" onclick="setHomepage('<wowocms:weburl />');">设为首页</a><a href="<wowocms:weburl />" onclick="addFavorite(this.href, '<wowocms:webtitle />');return false;">收藏本站</a>
                    </div>
                    <div class="y">
                        <if condition="get_cookie('uid') neq null">
                          <a href="{:U('User/Center/index')}">会员中心</a><a href="{:U('User/Index/logout')}">退出登录</a>
                        <else/>
                          <a href="{:U('User/Index/index')}">登录</a><a href="{:U('User/Index/regs')}">注册</a>
                        </if>

                    </div>
                </div>
            </div>
            <div class="top">
                <div id="head">

                    <div class="head png">
                        <div id="dh">
                            <div class="logo">
                                <a href="./" title="<wowocms:webtitle />"><img src="__ROOT__/Style/images/logo.png" alt="<wowocms:webtitle />" border="0" width="160px" height="60px" /></a>
                            </div>
                            <div id="nav">
                                <ul>

                                    <li id="mn_portal"><a href="{:C('cfg_weburl')}" hidefocus="true" title="Portal">网站首页<span>Portal</span></a>
                                    </li>

                                    <?php $cates=getCategory(1);  
                                    $Category = new \Think\Category(); //print_r($Category::getParents($cate,19)); //print_r($cid); ?>

                                    <wowocms:navlist typeid='0'>

                                        <li id="mn_P1" <if condition="($navlist['id'] eq 8)">class="a"</if>><a href="{$navlist.url}" hidefocus="true">{$navlist.name}</a>
                                        </li>

                                    </wowocms:navlist>


                                </ul>
                            </div>
                            <div class="clearfix">
                            </div>



                        </div>
                    </div>



                </div>
            </div>

            <div id="wp" class="wp">
                <div class="inside_banner png">
                </div>
                <link type="text/css" rel="stylesheet" href="__ROOT__/Style/css/insidepage.css">
                <link type="text/css" rel="stylesheet" href="__ROOT__/Style/css/news.css">

                <div class="main">
                    <div class="left_main">
                        <div class="left_banner">
                            <img width="670" height="164" src="__ROOT__/Style/images/news_img.jpg">
                        </div>
                        <div class="inside_h1">
                            <wowocms:type typeid="$cid">{$type.name}</wowocms:type>
                        </div>
                        <div class="news"> 

                            <style type="text/css">
                                input.input-text, input.input-file, input.code, textarea {
                                padding: 4px;
                                font-size: 15px;
                                outline: none;
                                text-shadow: 0px 1px 0px white;
                                -webkit-border-radius: 3px;
                                -moz-border-radius: 3px;
                                border-radius: 3px;
                                border: 1px solid #CCC;
                                -webkit-transition: .3s ease-in-out;
                                -moz-transition: .3s ease-in-out;
                                -o-transition: .3s ease-in-out;
                                }
                                td.input {
                                   padding: 6px 8px;
                                }
                                td.submint {
                                padding: 10px;
                                }
                                .orange {
                                color: #FEF4E9;
                                border: solid 1px #DA7C0C;
                                background: #F78D1D;
                                filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#faa51a', endColorstr='#f47a20');
                                display: inline-block;
                                zoom: 1;
                                vertical-align: baseline;
                                margin: 0 2px;
                                outline: none;
                                cursor: pointer;
                                text-align: center;
                                text-decoration: none;
                                font: 14px/100% Arial, Helvetica, sans-serif;
                                padding: .5em 2em .55em;
                                text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
                                -webkit-border-radius: .5em;
                                border-radius: .5em;
                                -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
                                box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
                                }
                                td.input .info {
                                padding-left: 15px;
                                color: red;
                                }

                            </style>

                            <form method='POST' name='myform' onSubmit='return metmessagesubmit("姓名不能为空","留言信息不能为空");' action='{:U('Guestbook/add')}' target='_self'>
                                    <table class='message_table'>
                                        <tr>
                                            <td class='text'>姓名</td>
                                            <td class='input'>
                                                <input name='title' type='text' class='input-text' />
                                                <span class='info'>*</span>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class='text'>电话</td>
                                            <td class='input'>
                                                <input name='tel' type='text' class='input-text' />
                                            </td>
                                        </tr>
                                        
                                        <tr>
                                            <td class='text'>留言内容</td>
                                            <td class='input'>
                                                <textarea name='content' cols='50' rows='6' class='textarea-text'></textarea>
                                                <span class='info'>*</span>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class='text'>验证码</td>
                                            <td class='input'>
                                                <input name='code' type='text' class='code' id='code' size='6' maxlength='8' style='width:50px' onfocus ="verifyStart()" />
                                                <img align='absbottom' src="{:U('Index/get_verify')}" onclick="verifyStart()" style='cursor: pointer;' title='看不清？点击更换验证码' id="verif_img" width="90px" height="25px;" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class='text'></td>
                                            <td class='submint'>
                                                <input type='submit' name='Submit' value='提交留言' class='submit button orange'></td>
                                        </tr>
                                    </table>
                                </form>
                            












                            <div>
                                <div class="pgs cl">
                                    <div class="pg">
                                       

                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <include file="blue004/Public/right_main" />
                </div>
            </div>
        </div>

        <div class="inside_bottom">
        </div>

    </div>
    <include file="blue004/Public/foot" />


</body>

</html>
